System and Method for Light Socket Adaptation

ABSTRACT

A light socket adaptation system and method. A light socket adapter module comprises a female end designed to accept a light bulb, a male end designed to be placed in an existing light socket, WIFI transmit/receive circuitry, Bluetooth LE transmit/receive circuitry, a processor that processes instructions received via one or more of the WIFI transmit/receive circuitry and the Bluetooth LE transmit/receive circuitry, wherein the instructions are received from one or more of a remote server system and a mobile computing device, wherein the processor executes Bluetooth LE instructions to cause the light socket adapter module to detect Bluetooth LE enabled devices within a detection proximity of the light socket adapter module, and power supply control circuitry controllable by the processor, wherein the power supply control circuitry controls power supplied to a light bulb positioned in the female end of the light socket adapter module.

The present application is a continuation of U.S. patent applicationSer. No. 14/621,235, titled “SYSTEM AND METHOD FOR LIGHT SOCKETADAPTATION,” filed Feb. 12, 2015 which claims the benefit of andpriority to U.S. Provisional Application No. 61/939,128 titled “LIGHTSOCKET ADAPTER FOR INTERNET OF THINGS AND HOME AUTOMATION BACKBONE”filed on Feb. 12, 2014; the contents of both are hereby incorporated byreference herein in their entirety.

BACKGROUND OF THE INVENTION

The present invention relates generally to lighting systems and methodsand more specifically to systems and methods for adapting existing lightsockets for automation and remote interaction.

Every home, restaurant, hotel, or building must have lighting installed.Such lighting includes various types of light bulbs and schemes forcontrolling the light bulbs. The control schemes can also include somesort of automation to control lighting (on/off/dim), temperature, andpower to various systems.

It is not uncommon for the existing automation in these variousstructures to utilize a proprietary RF protocol. The RF protocols resultin limited interoperability with popular consumer electronics, as themore popular consumer electronics utilize WiFi or Bluetooth instead.

Popular consumer electronics are available that utilize Bluetooth,however a smartphone or other mobile computing device is required to actas a bridge from the consumer electronics to the Internet, eitherthrough cellular or WiFi communications.

It is within the aforementioned context that a need for the presentinvention has arisen. Thus, there is a need to address one or more ofthe foregoing disadvantages of conventional systems and methods, and thepresent invention meets this need.

BRIEF SUMMARY OF THE INVENTION

Various aspects of methods and systems for adapting light sockets can befound in exemplary embodiments of the present invention.

In a first embodiment, a light socket adapter module comprises a femaleend designed to accept a light bulb, a male end designed to be placed inan existing light socket, WIFI transmit/receive circuitry, Bluetooth LEtransmit/receive circuitry, a processor that processes instructionsreceived via one or more of the WIFI transmit/receive circuitry and theBluetooth LE transmit/receive circuitry, wherein the instructions arereceived from one or more of a remote server system and a mobilecomputing device, wherein the processor executes Bluetooth LE softwareto cause the light socket adapter module to detect Bluetooth LE enableddevices within a detection proximity of the light socket adapter module,and power supply control circuitry controllable by the processor,wherein the power supply control circuitry controls power supplied to alight bulb positioned in the female end of the light socket adaptermodule.

With the present invention, a user can easily install an existinglightbulb into a light socket adapter module, install the combination ofthe light socket adapter module with the lightbulb into an existinglight socket, establish communication with the light socket adaptermodule via WiFi and Bluetooth LE, and remotely control power supplied tothe lightbulb using a mobile computing device. The light socket adaptermodule of the present invention is designed such that no modification tothe existing light socket or light bulb is necessary, for ease ofinstallation.

With the present invention, data collected by the light socket adaptermodule can be transmitted from each light socket adapter in a home orbuilding to a remote server system through a router via WiFi. Thisbenefit is realized by the light socket adapter module becoming agateway, eliminating the need for a central hub that gathers data andtransmits to the remote server system. Further, additional Bluetoothenabled devices in proximity to the light socket adapter can communicatedata to the light socket adapter to be transmitted to the remote serversystem.

With the present invention, data regarding how humans or other beingsmove around a house or building is collected via Bluetooth LE attachedto a light socket adapter module. The data can be aggregated andanalyzed for a wide variety of uses.

With the present invention, a user can enter a room and be identified.This enables a change in the lighting scheme according to the user'spreferences. This also enables the user to program their lights to be analarm clock (e.g., dim the lights up slowly in the morning).

With the present invention, a user can provision WiFi for multipleBluetooth enabled light socket adapter modules at the same time throughthe use of Bluetooth communication. This is in contrast to existingsystems, whereby each device must be provisioned individually.

With the present invention, user experienced is far enhanced due to thelight socket adapter module having both WiFi and Bluetooth communicationcapabilities. The combination of WiFi and Bluetooth capabilitiesprovides contextual awareness, enhanced setup, and makes the presentinvention easy to use for users having a wide variety of technicalaptitude.

A further understanding of the nature and advantages of the presentinvention herein may be realized by reference to the remaining portionsof the specification and the attached drawings. Further features andadvantages of the present invention, as well as the structure andoperation of various embodiments of the present invention, are describedin detail below with respect to the accompanying drawings. In thedrawings, the same reference numbers indicate identical or functionallysimilar elements.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a lighting system for light socket adaptationaccording to an exemplary embodiment of the present invention.

FIG. 2A illustrates a home lighting system according to an exemplaryembodiment of the present invention.

FIG. 2B illustrates a home lighting system according to an exemplaryembodiment of the present invention.

FIG. 2C illustrates a home lighting system according to an exemplaryembodiment of the present invention.

FIG. 3 illustrates a home lighting system according to an exemplaryembodiment of the present invention.

FIG. 4 illustrates a remote server system according to an exemplaryembodiment of the present invention.

FIG. 5 illustrates a control module according to an exemplary embodimentof the present invention.

FIG. 6 illustrates control logic according to an exemplary embodiment ofthe present invention.

FIG. 7 illustrates an adapter module according to an exemplaryembodiment of the present invention.

FIG. 8 illustrates an adapter module according to an exemplaryembodiment of the present invention.

FIG. 9 illustrates a home lighting system setup process according to anexemplary embodiment of the present invention.

FIG. 10 illustrates an exemplary computer architecture for use with anexemplary embodiment of the present invention.

FIGS. 11A-11F illustrate exemplary user interfaces for use with thepresent invention.

DETAILED DESCRIPTION OF THE INVENTION

Reference will now be made in detail to the embodiments of theinvention, examples of which are illustrated in the accompanyingdrawings. While the invention will be described in conjunction with thepreferred embodiments, it will be understood that they are not intendedto limit the invention to these embodiments. On the contrary, theinvention is intended to cover alternatives, modifications andequivalents, which may be included within the spirit and scope of theinvention as defined by the appended claims. Furthermore, in thefollowing detailed description of the present invention, numerousspecific details are set forth to provide a thorough understanding ofthe present invention. However, it will be obvious to one of ordinaryskill in the art that the present invention may be practiced withoutthese specific details. In other instances, well-known methods,procedures, components, and circuits have not been described in detailas to not unnecessarily obscure aspects of the present invention.

FIG. 1 illustrates a lighting system for light socket adaptation 100according to an exemplary embodiment of the present invention.

In FIG. 1, lighting system 100 comprises a remote server 104communicably coupled via Internet/communication network 106 and wirelessrouter 108 to home lighting system 1 designated 110Internet/communication network 106 can be any communication network thatallows data to be communicated or transferred from one point to another.Such a network might be wired or wireless as deemed necessary to beconsistent with the spirit and scope of the present invention

Although not shown, home lighting system 110 includes at least one lightbulb and a corresponding power unit for controlling the light bulb aswell as a wall unit switch for manually controlling the light bulb.

In FIG. 1, using tablet 102, USER 1 can log into remote server system104 to access home lighting system 110. Thus, USER 1 remotely locatedfrom his or her home lighting system 110 can use the remote serversystem 104 to access various functionalities relating to the light bulbswithin home lighting system 110.

Similarly, USER 2 can also access home lighting system 2 designated 112,which is also communicably coupled to remote server system 104 viaInternet/Communication network 106. Specifically, USER 2 can employtablet 103 to access remote server system 104 via Internet/communicationnetwork 106.

USER 3 can also remotely access home lighting system N designated as114. Specifically, USER 3 can employ laptop computer 105 to accessremote server system 104 via Internet/communication network 106.

Because light socket adapter modules (not shown but described furtherbelow) of the home lighting systems (110, 112, 114) are both WiFi andBluetooth LE enabled, devices 102, 103, 105 can also directly controlthe home lighting systems 110, 112, 114 via Bluetooth LE without needfor WiFi or cellular communications.

Changes to light socket (110, 112, 114) settings (not limited to dimlevels, proximity detection, etc.) can be pushed intoInternet/communication network (106) so that it may be observed by USER(102, 103, 105) or a 3^(rd) party (not limited to security company,family members, etc.).

It will be appreciated that, while devices 102, 103, 105, and the mobileor input devices depicted and described herein are in the form of asmart phone, mobile computing device, laptop computer, and tabletdevice, any computing device having processing and communicationcapabilities for performing the functionalities described herein aresuitable for use with the present system without departing from thescope of the invention.

USER 1, USER 2, and/or USER 3 can then perform functionalities relatedto each corresponding home lighting system consistent with the spiritand scope of the present invention. Although not shown, furtherdescriptions of various embodiments of the present invention will bedescribed with reference to the following figures.

FIG. 2A illustrates home lighting system 200 according to an exemplaryembodiment of the present invention.

In FIG. 2A, an light socket adapter module 202 communicates directlywith a mobile device 102 via a short range RF protocol includingBluetooth, Bluetooth LE (BLE), Zigbee, ANT, ANT+, NFC, 6LoWPAN, or anyother protocol used for short range data communication. The light socketadapter module 202 also communicates over the Internet/Network 106 withremove server system 104 via WiFi using a router 108. According to oneembodiment, light socket adapter module 202 receives instructionsdirectly from mobile device 102. Light socket adapter module 202 canalso receive instructions via WiFi from remote server system 104.

According to one embodiment, light socket adapter module 202 receivesinstructions from a device 102, and device 102 can receive input in theform of actuation of buttons, selection via touch screen, voice inputand various gestures (e.g., shaking of the device 102, sensing a handgesture within proximity of the device 102, etc.). Although depictedherein as a smartphone, device 102 does not necessarily have to be asmart phone in order to have enabled the above described inputcapabilities.

According to one embodiment, light socket adapter module 202 acts as aWiFi repeater for device 102. In this manner, light socket adaptermodule 202 receives information via WiFi through router 108 andtransmits the data to device 102. This is particularly useful foroccasions when device 102 is not within range of router 108.

FIG. 2B illustrates home lighting system 220 according to an exemplaryembodiment of the present invention.

In FIG. 2B, a plurality of light socket adapter modules (204, 206, 208,210, 212, 214) form a lighting network throughout a home or otherbuilding. Each light socket adapter modules (204, 206, 208, 210, 212,214) communicates with a mobile input device 102 via Bluetooth LE orother short range RF protocol. Each light socket adapter module (204,206, 208, 210, 212, 214) also communicates over Internet/network 106WiFi through router 108.

FIG. 2C illustrates home lighting system 240 according to an exemplaryembodiment of the present invention.

In FIG. 2B, a plurality of light socket adapter modules (204, 206, 208,210, 212, 214) form a lighting network throughout a home or otherbuilding. However, in this embodiment, adapter modules 204, 206, 208,210, and 214 have powered down their WiFi modules and have essentiallybecome slave devices to master adapter module 212. Adapter module 212communicates with mobile input device 102 via Bluetooth LE or othershort range RF protocol and also communicates over Internet/network 106WiFi through router 108. Slave adapter modules 204, 206, 208, 210, and214 communicate with master adapter module 212 via Bluetooth LE or othershort range RF protocol. Instructions for the slave adapter modulesreceived over Internet/network 106 are related from the master module tothe slave adapter modules vie Bluetooth LE.

The embodiment of FIG. 2C achieves desirable power savings due to WiFirequiring more power than Bluetooth LE. In addition, such an embodimentis appropriate in a scenario where adapter modules are in use in areaswithout WiFi coverage. It will be appreciated that one or more ofadapter modules 204, 206, 208, 210, and 214 can be slave or masterdevices. The embodiment depicted in FIG. 2C illustrates a single masteradapter module and all other adapter modules being slaves, however anycombination of master and slave modules can exist without departing fromthe scope of the present invention.

Although not shown, Bluetooth LE units forward messages to each other ina mesh type network. This extends the Bluetooth range from the masterunit.

It will also be appreciated that WiFi modules of adapter modules may beperiodically powered down to save energy, and powered on in response toany number of triggering events (a specific user is detected, activitydetected, timer expiration, instruction received, etc.).

FIG. 3 illustrates home lighting system 300 according to an exemplaryembodiment of the present invention.

In FIG. 3, home lighting system 300 shows various exemplary componentsof home lighting systems 110, 112 and 114 of FIG. 1. Home lightingsystem 300 comprises router 302 communicably coupled to control module316. Bluetooth enabled mobile device 318 is also communicably coupled tocontrol module 316 via Bluetooth LE (or other short range protocol).Router 302 receives data from Internet/communication network 106 ofFIG. 1. Router 302 is a WiFi router capable of receiving data from theInternet and that is compliant with 802.11 standards. Router 302, asmentioned, is capable of receiving data from Internet/communicationnetwork 106 and transmitting received data to control module 316.

Data is transferred wirelessly from router 302 or device 318 to controlmodule 316. Control module 316 might be located within receivingdistance of router 302 and/or device 318 such that both components caneffectively communicate with each other. Router 302 and device 318 arealso capable of receiving data from control module 306 and transferringthat data via Internet/communication network 106 to the remote serversystem 104 of FIG. 1.

Data received by control module 316 might comprise instructions toadjust power to light bulb 310. Control module 316 executes suchinstructions and adjusts power to light bulb 310 accordingly.

An advantage of the present invention is that control module 316 is inan adapter module that is placed between light bulb 310 and the powersupply 314 for the light bulb without the need to uninstall and replaceentire lighting systems, potentially saving many homeowners substantialamounts of money as well as labor costs.

Control module 316 is also communicably coupled to lighting sensor 312and activity sensor 308. Control module 316 can receive data fromsensors 312 and 308 push such data via router 302 andInternet/communication network 106 to the remote server system 104 ofFIG. 1 or push such data to device 318 via Bluetooth.

It will be appreciated that, while the embodiments described hereininclude lighting and activity sensors 312 and 308, respectively, anyintegrated peripheral device or sensor used in combination with or inplace of those sensors is appropriately within the scope of the presentinvention. Examples of peripherals can include smart sockets,temperature sensors, moisture detectors, sound detectors, dimmers orvarious switches. The peripherals can be Bluetooth LE enabled.

It will be appreciated that activity sensor 308 can simply be theexisting Bluetooth LE radio and antenna, and does not necessarily haveto be an additional sensor attached to the adapter module.

A benefit to using Bluetooth LE over other short range RF protocols(e.g. Zigbee, Z-wave) is that it enables proximity or presence sensing.In such a situation, the identity of a user who has entered a room (orproximity of the adapter module) can be determined. The lighting schemecan subsequently be adjusted according to known preferences of thedetected user. The identity of the user can be determined because theMAC address (or other unique identifier that is emitted) from their BLEdetection device (smartphone, tablet, wearable fitness tracker, or otherwearable) is tied to their account. This is in contrast to generalmotion sensors because a motion sensor simply detects motion and has noway to distinguish one user from another, or a human from an animal. Theadapter module can also detect the presence of a still object, since itis detecting presence and not motion.

In one embodiment, control module 316 can be disabled such that lightbulb 310 operates as if control module 316 is not present. In such astate of the system, manual light switch 306 (or other associated remotecontrol) is fully functional. Otherwise, when control module 316 isenabled, power to the light bulb 310 is off or controlled by the controlmodule 316 and the manual switch 306 is not functional.

In another embodiment, the control module 316 is enabled and responds tothe manual switch 306 such that both are functional (i.e., a user cancontrol lighting using control module 316 or manual switch 306).

Further description and operation of the home lighting system 300 areillustrated with reference to FIGS. 4 and 5 below.

FIG. 4 illustrates remote server system 104 according to an exemplaryembodiment of the present invention.

In FIG. 4, remote server system 104 includes web server 402 andapplication server 404. Web server 402 functions to serve up and host awebsite (not shown) that can be accessed by USER 1, USER 2 and USER 3 ofFIG. 1. Among other functionalities, users can access this website todetermine lighting system status information as well as issuecorresponding commands to adjust power to light bulbs of remotelylocated lighting systems. Web server 402 can be hardware, software or acombination of both.

Application server 404 controls all software applications accessible byUSER 1, USER 2 and USER 3. Users can access lighting control application406, which comprises one or more software instructions to control thelighting within remotely located home lighting systems 110, 112, 114 ofFIG. 1. Lighting control application 406 may also include one or moresoftware instructions enabling a user to view lighting statusinformation. Application servers 402 and 404 are communicably coupled todatabase 408, in which information for all registered users and theiradapter modules are stored.

FIG. 5 illustrates control module 316 according to an exemplaryembodiment of the present invention.

In FIG. 5, adapter control module 316 includes lighting state detectcircuitry 502 that stores the state of lighting. This information, thatis what state the light bulb is in, is typically received via lightingsensor 314. Adapter control module 316 also includes activity detectcircuitry 508 that senses activity within a particular vicinity of theadapter control module 316. This information is typically received viaactivity sensor 308 of FIG. 3.

When a particular state or activity is detected, push logic circuitry504 pushes lighting or activity status information to lightingapplication 406 automatically and based on pre-defined time intervalsdesignated by the user. In one embodiment, information is pushed only ifthere is a status change in the lighting state or activity.

Further, one or more software code instructions for applyingasynchronous polling can be employed by lighting control application406. Asynchronous polling constantly polls (or pings) control module 316so that when a communication error occurs during transmission, lightingcontrol application 406 is aware of the error and users can receivecorrect lighting status information. An advantage of the presentinvention is that lighting status information is pushed (as opposed topulling) to remote server system 104.

Although data can be pulled as well, the present invention preferablypushes lighting status information when there is change in the status ofthe lighting. In this manner, unlike other existing systems, users neednot request lighting status information in order to receive suchinformation. Not only does pushing avoid inundating the server withrequests, users need not await responses to their status informationrequests as such status information is already available.

In FIG. 5, control module 316 also includes a lighting control circuitry506 that receives instructions from USER 1, 2 or 3 to adjust power tolight bulb 310. In turn, lighting control circuitry 506 interprets theuser's instructions and adjusts power to light bulb 310 accordingly.

Control module 316 also includes Bluetooth (or other short range RFprotocol) receive/transmit circuitry 512 and Wifi receive/transmitcircuitry 510. As implied by its name, Wifi receive/transmit circuitry510 can receive or transmit data to and from router 302 or to/fromdevice 318 of FIG. 3. Also, Bluetooth receive/transmit circuitry 512 canreceive or transmit data to and from device 318 of FIG. 3 and otherBluetooth enabled devices in proximity. Specifically, Wifireceive/transmit circuitry 510 processes remote commands received fromusers via Internet/Communication network 106 and router 302 before beingprocessed at control module 316. Similarly, Bluetooth receive/transmitcircuitry 510 processes remote commands received via Bluetooth fromdevice 318 before being processed at control module 316.

FIG. 6 illustrates control logic 600 according to an exemplaryembodiment of the present invention.

In FIG. 6, a light bulb state or information regarding activitydetection is received 610, as is control input 620. Control input can bea request from a remote device via remote server system, a request froma remote device via Bluetooth, or can be a manual actuation of a lightbulb on/off/dim switch. If the current state of the light bulb isacceptable (e.g., the bulb is on, off, or at the correct dimming level)630, the power to the light bulb is not adjusted 670. However, if thecurrent state of the light bulb is not acceptable (e.g., the light bulbstate does not match the desired state) 630, the power supplied to thelight bulb is modified (enabled, lowered, increased) 640 to enable achange in light bulb state. Once again the light bulb state is received650 and examined 660. If the light bulb state is now acceptable 660, thepower to the light bulb is not adjusted 670. However, if the light bulbstate does not match the desired state 660, power to the light bulb isagain adjusted 640 to enable a change in light bulb state. One ofordinary skill in the art will appreciate that many issues can beresponsible for an unsuccessful change in light bulb state, thus failsafes must be in place. Fail safes include the present secondexamination of light bulb state, but can also include sensors, timers,or counters to avoid multiple attempts at adjusting the power to thelight bulb in the event that an undetected error has occurred.

According to one embodiment, the control logic 600 is carried out usinga computing device having a computer architecture according to thatdescribed in FIG. 10.

FIG. 7 illustrates an adapter module 700 according to an exemplaryembodiment of the present invention.

In FIG. 7, an adapter module 700 (sometimes referred to as a smartsocket) includes a female end 704 of a light socket joint. The femaleend 704 is designed to accept a light bulb (CFL, LED, Halogen,Incandescent, or any other type of lighting), and can be designed toaccept various types and sizes of light bulbs.

According to one embodiment, adapter module 700 incorporates a male end706 of a light socket joint. The male end 706 is designed to be placedinto an existing light socket joint.

According to one embodiment, adapter module 700 incorporates anelectrical wire feed through element 714 so that it may be installeddirectly as part of a lighting assembly.

The adapter module 700 can have various dimensions depending on the sizeof lighting fixture to be adapted. Adapter module includes variousinternal circuitry 702 as discussed further herein, that may include apower supply, a microcontroller, a power control module, and atransceiver.

FIG. 8 illustrates an adapter module 800 according to an exemplaryembodiment of the present invention.

In FIG. 8, adapter module 800 is connected to the light bulb atterminals A, B, C and D. That is, line 840 is connected to adaptermodule 800 at terminal A and terminal C, while line 842 is connected toadapter module 800 at terminal B and terminal D.

In FIG. 8, the hashed lines are internal circuitry within adapter module800. Hashed line 840, for example, is internal circuitry that connectsterminals A and C. Adapter module 800 comprises logic circuit 842 havinga logic switch 844 both of which are connected in parallel with manualswitch 846.

When adapter module 800 receives instructions via its Wifi or Bluetoothcircuitry (not shown) to enable, disable, increase, decrease power tothe light bulb, logic circuit 842 closes the logic switch 844 to executethe instructions. On the other hand, if switch 846 is actuated by auser, line 842 is closed to trigger power supply to the light bulb toadjust the lighting. A skilled artisan will realize that this is but oneexemplary technique for using adapter module 800 to control the lightbulb.

Adapter module 800 might use a combination of line 840 and 842 in FIG. 8and draw power from an AC outlet as a primary source of power. Adaptermodule 800 can include an internal converter to convert the suppliedvoltage to what is required to power the light bulb.

FIG. 9 illustrates a home lighting system setup process 900 according toan exemplary embodiment of the present invention.

In FIG. 9, a mobile device within range of a light socket adapter modulereceives a setup request signal 910 via Bluetooth LE. An applicationstored on the mobile device prompts a user of the mobile device to entercredentials to be authenticated as part of a login process, the userenters his or her credentials 920 and the application authenticates theuser 930. It will be appreciated that authentication can be accomplishedaccording to any known and appropriate algorithm without departing fromthe scope of the present invention.

Upon authentication of the user, the mobile device and light socketadapter module pair via Bluetooth LE 940. The light socket adaptermodule scans and locates all available WiFi networks, transmits theinformation about them to the mobile device via Bluetooth LE, and mobiledevice displays them 950 to the user. The user enters instructions for adesired WiFi network 960, including any network authentication that isnecessary. In this manner, the user selects the WiFi network the lightsocket adapter module will be connected to. Finally, the mobile devicetransmits the WiFi password to all of the light socket adapter modules970 within a defined proximity.

In an alternative embodiment, step 950 involves the mobile devicescanning for available WiFi networks and displaying them 950 to theuser. This is an alternative to using the light socket adapter module toscan for available WiFi networks.

According to one embodiment, the process 900 is carried out using acomputing device having a computer architecture according to thatdescribed in FIG. 10.

It will be appreciated that the setup process 900 depicted in FIG. 9 canbe accomplished using any combination of computing devices,applications, or websites associated with the present system.

An exemplary provisioning process that accompanies the process 900depicted in FIG. 9 is as follows. The factory state of a light socketadapter module is [0x01, x01, 0x01] [Network Disconnected,Unprovisioned, Cloud Disconnected]. In step 910, the light socketadapter module state transitions to [0x02, 0x01, 0x01] [NetworkConnecting, Unprovisioned, Cloud Disconnected]. After the light socketadapter module has connected to WiFi in step 950, the state transitionsto [0x03, 0x02, 0x01] [Network Connected, Provisioning, CloudDisconnected] and the adapter module attempts to provision itself withthe cloud. Once the light socket adapter module has received a messagingservice channel name and API token in step 970, the state transitions to[0x03, 0x03, 0x02] [Network Connected, Provisioned, Cloud Connecting].Finally, when the connection to the messaging service has completed, thestate transitions to [0x03, 0x03, 0x03] [Network Connected, Provisioned,Cloud Connected] and the light socket adapter module is ready to processincoming messages.

According to one embodiment, the exemplary provisioning processdescribed above is implemented using a messaging service similar to thatprovided by PubNub®. It will be appreciated that messaging serviceshaving capabilities for implementing the process described above can beused without departing from the scope of the invention.

The exemplary provisioning process described above is implemented,according to one embodiment, utilizing at least the followingcharacteristics of Bluetooth LE.

-   -   API Device ID Characteristic:        -   Read/Write: WRITE ONLY        -   Security: If adapter device has been provisioned, the            characteristic is SECURED. Otherwise, the characteristic is            UNSECURED.        -   Description: Used to specify the Device API ID to use when            provisioning the adapter device with the API.    -   WiFi Params Passphrase Characteristic:        -   Read/Write: WRITE ONLY        -   Security: If adapter device has been provisioned, the            characteristic is SECURED. Otherwise, the characteristic is            UNSECURED.        -   Description: Used to specify the Passphrase used to connect            to WPA and WEP WiFi networks.    -   WiFi Params SSID Characteristic:        -   Read/Write: WRITE ONLY        -   Security: If adapter device has been provisioned, the            characteristic is SECURED. Otherwise, the characteristic is            UNSECURED.        -   Description: Used to specify the SSID to use when connecting            to WiFi. After writing to this characteristic, a WiFi scan            begins.

Light socket adapter modules according to the present disclosure can besecured through an exemplary mechanism whereby access to specific devicefunctionality can be restricted based on an identity of a user. Thisexemplary mechanism is active even in the event that the adapter moduledoes not have an active network connection.

An exemplary security mechanism to accompany a light socket adaptermodule (or device) having gone through the process 900 depicted in FIG.9 is as follows. After the adapter module has been provisioned (added toa user's account), secured device characteristics require authenticationto ensure the user making a request has appropriate access for such arequest.

Before attempting to access a SECURED BLE Characteristic, an adaptermodule requests an access token from the remote server system (104 inFIG. 1) providing access to only the specified adapter module. Theremote server system authenticates the requestor, validating that theyare authorized to access the adapter module before providing the accesstoken. The access token comprises a nonce and a signature.

Next, the adapter module writes the nonce and signature components intoan Authenticate Central BLE Characteristic. The adapter module signs thenonce using the API token that it received from the remote server systemduring the Provisioning process. The adapter module then compares thenonce with the provided signature and confirms that they match. If theprovided access token components are correct then the adapter moduleallows access to SECURED Characteristics for the remainder of theconnection. It will be appreciated that authentication can remain activeonly during the life of a single BLE connection. New connections can bere-authenticated.

FIG. 10 illustrates an exemplary computer architecture 1000 for use withan exemplary embodiment of the present invention.

The present invention comprises various computing entities that may havean architecture according to exemplary architecture 1000. One embodimentof architecture 1000 comprises a system bus 1020 for communicatinginformation, and a processor 1010 coupled to bus 1020 for processinginformation. Architecture 1000 further comprises a random access memory(RAM) or other dynamic storage device 1025 (referred to herein as mainmemory), coupled to bus 1020 for storing information and instructions tobe executed by processor 1010. Main memory 1025 also may be used forstoring temporary variables or other intermediate information duringexecution of instructions by processor 1010. Architecture 1000 may alsoinclude a read only memory (ROM) and/or other static storage device 1026coupled to bus 1020 for storing static information and instructions usedby processor 1010.

A data storage device 1025 such as a magnetic disk or optical disc andits corresponding drive may also be coupled to architecture 1000 forstoring information and instructions. Architecture 1000 can also becoupled to a second I/O bus 1050 via an I/O interface 1030. A pluralityof I/O devices may be coupled to I/O bus 1050, including a displaydevice 1043, an input device (e.g., an alphanumeric input device 1042and/or a cursor control device 1041).

The communication device 1040 allows for access to other computers(e.g., servers or clients) via a network. The communication device 1040may comprise one or more modems, network interface cards, wirelessnetwork interfaces or other interface devices, such as those used forcoupling to Bluetooth, Ethernet, token ring, or other types of networks.

FIGS. 11A-11F illustrate exemplary user interfaces for use with thepresent invention.

According to various embodiments, an adapter module as described hereincan be updated via WiFi or Bluetooth LE or any other wireless standard(e.g., upgrades, patches, fixes, etc.).

An adapter module according to the present invention can further includecircuitry for measuring power consumption. This can includeimplementations involving solar or other photo voltaic cells, or basicinductive coils. The available measurements, as examples only, includemeasuring current flow to calculate power usage, and relative energysavings based on a maximum setting vs. user setting.

According to one embodiment, an adapter module described hereinautomatically detects the type of light bulb engaged in the socket.Detection includes but is not limited to an implementation involving aphotovoltaic or solar cell, a single pulse from a cold start, testingfor resistance, inductance, capacitance, or testing for dim ability. Theadapter module can also calibrate a light bulb to determine an optimaldimming profile.

According to one embodiment, an adapter module described herein monitorsbulb or other equipment temperature and modifies power to the bulbaccordingly. Monitoring of temperature can be accomplished via aninternal or external sensor, or a combination of both. If a temperatureof a bulb has exceeded a threshold, the power to the bulb may be turneddown slightly or completely to either dim or turn off the bulb until thetemperature returns to an acceptable level.

While the above is a complete description of exemplary specificembodiments of the invention, additional embodiments are also possible.Thus, the above description should not be taken as limiting the scope ofthe invention, which is defined by the appended claims along with theirfull scope of equivalents.

What is claimed is:
 1. A lighting adapter module, comprising: a firstconnection to a source of power; a second connection to provide power toa lighting source; Wi-Fi transmit/receive circuitry; Bluetooth LEtransmit/receive circuitry; a processor that processes instructionsreceived via one or more of the Wi-Fi transmit/receive circuitry and theBluetooth LE transmit/receive circuitry, wherein the instructions arereceived from one or more of a remote server system and a mobilecomputing device; wherein the processor executes first instructions tocause the lighting adapter module to detect devices within a detectionproximity of the lighting adapter module, wherein the devices areenabled with one or more of Bluetooth LE and Wi-Fi; wherein a detecteddevice is associated with a particular user identity, the particularuser identity associated with a set of user preferences; and powersupply control circuitry controllable by the processor, wherein thepower supply control circuitry controls power supplied to the lightingsource; wherein the processor, in response to detection of the deviceand determination of the particular user identity, automaticallyprocesses second instructions to modify the power supplied to thelighting source based at least on the set of user preferences.
 2. Thelighting adapter module according to claim 1, wherein provisioning thelighting adapter module comprises: transmitting via Bluetooth LE a setuprequest signal to a mobile computing device; pairing via Bluetooth LEwith the mobile computing device; locating an available Wi-Fi network;transmitting information about the available Wi-Fi network to the mobilecomputing device; receiving a Wi-Fi password via Bluetooth LE from themobile computing device; and connecting to the available Wi-Fi network.3. The lighting adapter module according to claim 1, whereincommunicating with the enabled device occurs initially over one ofBluetooth LE or Wi-Fi.
 4. The lighting adapter module according to claim3, wherein the lighting adapter module receives a connection requestfrom the enabled device via Bluetooth LE.
 5. The lighting adapter moduleaccording to claim 3, wherein the lighting adapter module receives aconnection request from the enabled device via Wi-Fi.
 6. The lightingadapter module according to claim 1, wherein the second instructionsinclude one or more of disable power to the lighting source, enablepower to the lighting source, reduce power to the lighting source toproduce a dimming effect, and increase power to the lighting source toincrease brightness.
 7. The lighting adapter module according to claim1, wherein the Wi-Fi transmit/receive circuitry is periodically disabledto save power.
 8. The lighting adapter module according to claim 1,wherein the lighting source is one of CFL, LED, Halogen, orIncandescent.
 9. The lighting adapter module according to claim 1,wherein the second instructions are further based on one or more ofmotion sensor data and light sensor data.
 10. The lighting adaptermodule of claim 1, wherein authentication of a device comprises:transmitting, by the lighting adapter module, a request for an accesstoken to a remote server system; receiving, by the lighting adaptermodule, the access token from the remote server system, wherein theremote server system authenticates the device prior to providing theaccess token, and wherein the access token comprises a nonce and asignature; writing, by the lighting adapter module, the nonce andsignature into an authentication characteristic; signing, by thelighting adapter module, the nonce using an API token received from theremote server system to produce a signed nonce; comparing, by thelighting adapter module, the signed nonce to the signature; andaccessing, by the lighting adapter module, secured characteristics upondetermining that the signed nonce and signature match.
 11. The lightingadapter module of claim 1, further comprising power consumptionmonitoring circuitry.
 12. The lighting adapter module of claim 1,wherein the lighting adapter module automatically detects the type ofthe lighting source.
 13. The lighting adapter module of claim 1, whereinthe lighting adapter module calibrates the lighting source to determinean optimal dimming profile for the lighting source.
 14. A system,comprising: a remote server system communicably coupled to a lightingadapter module via an Internet router and communicably coupled to acorresponding mobile computing device adapted to control the lightingadapter module; wherein the lighting adapter module comprises: a firstconnection to a source of power; a second connection to provide power toa lighting source; Wi-Fi transmit/receive circuitry; Bluetooth LEtransmit/receive circuitry; a processor that processes instructionsreceived via one or more of the Wi-Fi transmit/receive circuitry and theBluetooth LE transmit/receive circuitry, wherein the instructions arereceived from one or more of the remote server system and the mobilecomputing device; wherein the processor executes first instructions tocause the lighting adapter module to detect devices within a detectionproximity of the lighting adapter module, wherein the devices areenabled with one or more of Bluetooth LE and Wi-Fi, wherein a detecteddevice is associated with a particular user identity, the particularuser identity associated with a set of user preferences; and powersupply control circuitry controllable by the processor, wherein thepower supply control circuitry controls power supplied to the lightingsource; wherein the processor, in response to detection of the deviceand determination of the particular user identity, automaticallyprocesses second instructions to modify the power supplied to thelighting source based at least on the set of user preferences.
 15. Thesystem of claim 14, wherein the second instructions include one or moreof disable power to the lighting source, enable power to the lightingsource, reduce power to the lighting source to produce a dimming effect,and increase power to the lighting source to increase brightness. 16.The system of claim 14, wherein the Wi-Fi transmit/receive circuitry isperiodically disabled to save power.
 17. The system of claim 14, whereinthe lighting source is one of CFL, LED, Halogen, or Incandescent. 18.The system of claim 15, further comprising a plurality of lightingadapter modules, wherein each lighting adapter module of the pluralityof lighting adapter modules receives the Wi-Fi password simultaneouslyfrom the mobile computing device.
 19. The system of claim 15, wherein amobile computing device is authenticated by the remote server systembefore the mobile computing device is granted access to a provisionedlighting adapter module.
 20. The system of claim 15, wherein thelighting adapter module acts as a gateway to remote server system.